package com.tudouji.project.harvest.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 淀粉薯定价对象 dprice_apply
 * 
 * @author tudouji
 * @date 2022-10-27
 */
public class DpriceApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String guid;

    /** �������� */
    @Excel(name = "��������")
    private String orgguid;

    /** �������� */
    @Excel(name = "��������")
    private String orgname;

    /** ����id	������������� */
    @Excel(name = "����id	�������������")
    private String departid;

    /** �������� */
    @Excel(name = "��������")
    private String departname;

    /** ����id */
    @Excel(name = "����id")
    private String flowid;

    /** ����	���뵥��� */
    @Excel(name = "����	���뵥���")
    private String code;

    /** ����	Ԫ/��ۺ��� */
    @Excel(name = "����	Ԫ/��ۺ���")
    private BigDecimal price;

    /** ��Ч���� */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "��Ч����", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveDate;

    /** ʧЧ���� */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "ʧЧ����", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;

    /** ״̬	100=������� */
    @Excel(name = "״̬	100=�������")
    private Integer status;

    /** ����ʱ�� */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "����ʱ��", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** ������id */
    @Excel(name = "������id")
    private String createId;

    /** ������ */
    @Excel(name = "������")
    private String createName;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "������", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setOrgguid(String orgguid) 
    {
        this.orgguid = orgguid;
    }

    public String getOrgguid() 
    {
        return orgguid;
    }
    public void setOrgname(String orgname) 
    {
        this.orgname = orgname;
    }

    public String getOrgname() 
    {
        return orgname;
    }
    public void setDepartid(String departid) 
    {
        this.departid = departid;
    }

    public String getDepartid() 
    {
        return departid;
    }
    public void setDepartname(String departname) 
    {
        this.departname = departname;
    }

    public String getDepartname() 
    {
        return departname;
    }
    public void setFlowid(String flowid) 
    {
        this.flowid = flowid;
    }

    public String getFlowid() 
    {
        return flowid;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setEffectiveDate(Date effectiveDate) 
    {
        this.effectiveDate = effectiveDate;
    }

    public Date getEffectiveDate() 
    {
        return effectiveDate;
    }
    public void setExpireDate(Date expireDate) 
    {
        this.expireDate = expireDate;
    }

    public Date getExpireDate() 
    {
        return expireDate;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setLastupdate(Date lastupdate) 
    {
        this.lastupdate = lastupdate;
    }

    public Date getLastupdate() 
    {
        return lastupdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("orgguid", getOrgguid())
            .append("orgname", getOrgname())
            .append("departid", getDepartid())
            .append("departname", getDepartname())
            .append("flowid", getFlowid())
            .append("code", getCode())
            .append("price", getPrice())
            .append("effectiveDate", getEffectiveDate())
            .append("expireDate", getExpireDate())
            .append("status", getStatus())
            .append("createdate", getCreatedate())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("lastupdate", getLastupdate())
            .toString();
    }
}
